import Vue from 'vue'
import App from './App.vue'



// import router from './router/index.js'  index.js可以省略
import router from './router'







new Vue({
  el: '#app',
 
  render: h => h(App),
//  5.注入路由对象到vue中，建立关联
  router,
})
 


Vue.config.productionTip = false

new Vue({
  render: h => h(App),
}).$mount('#app')
